package cn.king.springframework.bean.test.common;

import cn.king.springframework.context.ApplicationListener;

public class CustomerEventListener implements ApplicationListener<CustomerEvent> {
    @Override
    public void onApplicationEvent(CustomerEvent event) {
        System.out.println("收到:" + event.getSource()+"id:" +event.getId() +"消息:" + event.getMessage());
    }
}
